package com.ants.platform.core.bean;

import java.io.Serializable;

/**
 * Created by liushun on 2016/7/15.
 */
public class UserToken implements Serializable {

    //用户唯一ID
    private String userId;

    //用户账号
    private String userName;

    //时间戳
    private long timeSpan;

    public UserToken(String userId, String userName, long timeSpan) {
        this.userId = userId;
        this.userName = userName;
        this.timeSpan = timeSpan;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getTimeSpan() {
        return timeSpan;
    }

    public void setTimeSpan(long timeSpan) {
        this.timeSpan = timeSpan;
    }
}
